package com.drakulo.hi.gfx.panel;

import org.newdawn.slick.Color;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.SlickException;

import com.drakulo.hi.gfx.HIGraphicComponent;
import com.drakulo.hi.states.MenuState;

public abstract class Panel implements HIGraphicComponent {
	private int width;
	private int height;

	public void initSize(int width, int height) {
		this.width = width;
		this.height = height;
	}

	@Override
	public void render(Graphics g) throws SlickException {
		g.setColor(Color.gray);
		g.fillRect(MenuState.MENU_WIDTH, 0, this.width, this.height);
	}

}